package com.ken.springcloud.dao;

import com.ken.springcloud.pojo.Dept;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <ul>
 * <li>Title: DeptDao</li>
 * </ul>
 *
 * @author swc
 * @date 2021-08-25 15:47
 */
@Repository
@Mapper
public interface DeptDao {

    boolean addDept(Dept dept);

    Dept queryById(Long id);

    List<Dept> queryAll();

}
